@import url('./iconfont.css');
.iconfont {
    font-size: 50px
}

html,
body {
    background-color: #0c0f15;
    color: #ababab;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.box-container {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-item {
    cursor: pointer;
    width: 200px;
    height: 173.20508px;
    z-index: 0;
    position: relative;
    transform: rotate(30deg);
}

.box-item:nth-last-child(1),
.box-item:nth-last-child(2),
.box-item:nth-last-child(3) {
    transform: rotate(30deg);
}

.box-child-item {
    position: absolute;
    top: 0;
    left: 50px;
    width: 100px;
    height: 173.20508px;
}

.box-child-item:first-child {
    z-index: 0;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.box-child-item:last-child {
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.box-child-item div {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100px;
    height: 173.20508px;
    transform-origin: center center;
}

.box-child-item div:nth-child(1) {
    transform: rotate(0deg);
}

.box-child-item div:nth-child(2) {
    transform: rotate(60deg);
}

.box-child-item div:nth-child(3) {
    transform: rotate(120deg);
}

.box-child-item div::before,
.box-child-item div::after {
    background-color: #1e2530;
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}

.box-child-item div:before {
    top: 0;
}

.box-child-item div:after {
    bottom: 0;
}

a {
    transition: all 0.3s ease 0s;
}

.box-child-link {
    color: #fff;
    display: block;
    height: 180px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    transform: rotate(-30deg);
    width: 156px;
}

.box-child-link .box-child-link-inner {
    left: 50%;
    margin: -3px 0 0 2px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.box-child-link .box-child-icon {
    display: block;
    font-size: 36px;
    line-height: 30px;
    margin-bottom: 11px;
}

.box-child-link .box-child-title {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: uppercase;
}

.box-child-link svg {
    left: -7px;
    position: absolute;
    top: -13px;
    transform: scale(0.87);
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}

.box-item:hover {
    z-index: 1;
}

.box-item:hover .box-child-item:last-child {
    opacity: 1;
    transform: scale(1.3);
}

.box-item:hover .box-child-item:first-child {
    opacity: 1;
    transform: scale(1.2);
}

.box-item:hover .box-child-item:first-child div:before,
.box-item:hover .box-child-item:first-child div:after {
    height: 5px;
}

.box-item:hover .box-child-item div::before,
.box-item:hover .box-child-item div::after {
    background-color: #12d4ee;
}

.box-item:hover .box-child-link svg {
    transform: scale(0.97);
}

.box-child-link:hover {
    color: #fff;
}

.box-item:hover .box-child-icon i {
    color: #12d4ee;
    transition: 0.6s;
}

.box-item:hover .box-child-title {
    animation: focus-in-contract 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

a:hover,
a:focus {
    color: #ababab;
    text-decoration: none;
    outline: 0 none;
}

@keyframes focus-in-contract {
    0% {
        letter-spacing: 1em;
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}